package com.micronote.provider.entity;

import java.util.HashMap;

import com.micronote.provider.DatabaseHelper;

public class NoteBook {
	static public String create()
	{
		HashMap<String, String> columns = new HashMap<String, String>();
		
		columns.put("guid", "VARCHAR(36) PRIMARY KEY");
		columns.put("name", "VARCHAR(255)");
		columns.put("total_notes", "INTEGER");
		columns.put("total_size", "INTEGER");
		columns.put("last_update_time", "INTEGER");

		return DatabaseHelper.createTable("notebook", columns);
	}
}
